package cn.message.service;

import cn.itcast.pojo.horseman;
import cn.itcast.pojo.order;
import cn.itcast.pojo.orderItem;

import java.util.List;
import java.util.Map;

/**
 * @author 辉
 * @title: MessageOrderService
 * @projectName wx_shop
 * @description: TODO
 * @date 2019/6/1821:23
 */
public interface MessageOrderService {
    List<order> findAllProduct(Map<String,String> map);

    List<orderItem> findOrderItem(Integer orderId);

    List<horseman> getAllHorseman(Integer pageNum, Integer pageSize, String select, String value);

    boolean sendOrder(Integer orderId, String openId, String name);

    /**
     * 导出订单表格数据到excel
     * @return
     */
    List<order> exportOrderExcel(Map<String,String> map);

}
